import React from 'react'
import Proptypes from 'prop-types'

class Count extends React.Component {

  render(){
    return <h1>{this.props.count}</h1>
  }
  
}

Count.propTypes ={
  count:Proptypes.number.isRequired
}

export default Count;